﻿using Furion.DynamicApiController;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurStudy.Application
{
    /// <summary>
    /// 如果启用了混合身份验证后，WebApi需在控制器/Action中指定Scheme类型为JwtBearerDefaults.AuthenticationScheme
    /// 如果不设置Scheme那么在混合授权的Swagger中将默认采用Cookie方式，也就是授权失败会将整个登录页面内容返回
    /// </summary>
    [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]
    public class ApiServices : IDynamicApiController
    {

    }
}
